package user.com;

import java.util.ArrayList;
import java.util.List;

public class User {
	private int id;
	private String name;
	private Fakc fakc;
	private List<Fakc> addList = new ArrayList<Fakc>();

	public User() {

	}

	public User(int id) {

	}

	public User(String name) {
		super();
		this.name = name;
	}

	public User(int id, String name) {

		this.id = id;
		this.name = name;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<Fakc> getAddList() {
		return addList;
	}

	public void setAddList(List<Fakc> addList) {
		this.addList = addList;
	}

	public Fakc getFakc() {
		return fakc;
	}

	public void setFakc(Fakc fakc) {
		this.fakc = fakc;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", name=" + name + ", addList=" + addList
				+ "]";
	}

}
